<template>
  <div id="app">
    <img src="./assets/logo.png">
    <p>导航
    <router-link to='/helloworld'>首页</router-link> |
    <router-link to="/Hi/123sd/asdfsdfas">Hi页面</router-link> |
    <router-link to='/Hi/Hi1'>Hi页面1</router-link> |
    <router-link to='/Hi/Hi2'>Hi页面2</router-link> |
    </p>
    {{$route.name}}
    <router-view/>
    <router-view name="left" style="float:left;width:50%;background-color:#ccc;height:300px;" />
    <router-view name="right" style="float:right;width:50%;background-color:#c0c;height:300px;" />
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
